package com.zust.java.bean;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Repository;

@Repository
public class JobShop {

	private int id;
	private int jobNo;
	private int personNum;
	private int creditNum;
	
	private Account account;
	private List<Order> list = new ArrayList<Order>();
	
	public JobShop() {

	}

	@Override
	public String toString() {
		return "JobShop [jobNo=" + jobNo + ", personNum=" + personNum + ", creditNum=" + creditNum + ", account="
				+ account + ", list=" + list + "]";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getJobNo() {
		return jobNo;
	}

	public void setJobNo(int jobNo) {
		this.jobNo = jobNo;
	}

	public int getPersonNum() {
		return personNum;
	}

	public void setPersonNum(int personNum) {
		this.personNum = personNum;
	}

	public int getCreditNum() {
		return creditNum;
	}

	public void setCreditNum(int creditNum) {
		this.creditNum = creditNum;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public List<Order> getList() {
		return list;
	}

	public void setList(List<Order> list) {
		this.list = list;
	}

}
